package com.hetwen.search.demo.push;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class PushReceiver extends BroadcastReceiver {
    public PushReceiver() {
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        String action = intent.getAction();
        if ("com.hetwen.action.push".equals(action)) {
            String message = intent.getStringExtra("message");
            System.out.println("message:"+message);
        }
    }
}
